projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3b0950
)
Remove redundant initialization of fringe bitmap (Bug#37756)
author
memeplex
<carlosjosepita@gmail.com>
Wed, 16 Oct 2019 16:44:00 +0000
(13:44 -0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 26 Oct 2019 10:16:46 +0000
(13:16 +0300)
* src/fringe.c (Fdefine-fringe-bitmap): Remove redundant zeroing
of fb.bits that only zeroed half of the array anyway.
src/fringe.c
patch
|
blob
|
history
diff --git
a/src/fringe.c
b/src/fringe.c
index 22f3bdc2ba8a61e6330e659decbc6d78123f528e..08bf271ed568e2e3102eb5e9d1ce2bee83d9ff5e 100644
(file)
--- a/
src/fringe.c
+++ b/
src/fringe.c
@@
-1607,7
+1607,6
@@
If BITMAP already exists, the existing definition is replaced. */)
fb.bits = b = ((unsigned short *)
ptr_bounds_clip (xfb + 1, fb.height * BYTES_PER_BITMAP_ROW));
xfb = ptr_bounds_clip (xfb, sizeof *xfb);
- memset (b, 0, fb.height);
j = 0;
while (j < fb.height)